﻿@model RTracker.Models.User.GUser

@{
    ViewBag.Title = "Index";
}

<h2>Index</h2>

@using (Html.BeginForm())
{
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>CUser</legend>

        <div class="editor-label">
            @Html.LabelFor(model => model.User.UserId)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.User.UserId)
            @Html.ValidationMessageFor(model => model.User.UserId)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.User.OrganizationId)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.User.OrganizationId)
            @Html.ValidationMessageFor(model => model.User.OrganizationId)
        </div>
        <div class="editor-label">
            @Html.LabelFor(model => model.User.FirstName)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.User.FirstName)
            @Html.ValidationMessageFor(model => model.User.FirstName)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.User.LastName)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.User.LastName)
            @Html.ValidationMessageFor(model => model.User.LastName)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.User.Gender)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.User.Gender)
            @Html.ValidationMessageFor(model => model.User.Gender)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.User.Title)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.User.Title)
            @Html.ValidationMessageFor(model => model.User.Title)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.User.ActivationDate)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.User.ActivationDate)
            @Html.ValidationMessageFor(model => model.User.ActivationDate)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.User.ExpirationDate)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.User.ExpirationDate)
            @Html.ValidationMessageFor(model => model.User.ExpirationDate)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.User.LogonName)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.User.LogonName)
            @Html.ValidationMessageFor(model => model.User.LogonName)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.User.LogonPassword)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.User.LogonPassword)
            @Html.ValidationMessageFor(model => model.User.LogonPassword)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.User.OldLogonPassword)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.User.OldLogonPassword)
            @Html.ValidationMessageFor(model => model.User.OldLogonPassword)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.User.EmailAddress)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.User.EmailAddress)
            @Html.ValidationMessageFor(model => model.User.EmailAddress)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.User.LogonStatus)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.User.LogonStatus)
            @Html.ValidationMessageFor(model => model.User.LogonStatus)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.User.PasswordChangeTimestamp)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.User.PasswordChangeTimestamp)
            @Html.ValidationMessageFor(model => model.User.PasswordChangeTimestamp)
        </div>
        <p>
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Back to List", "Index")
</div>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
